home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / fly8111-.000 / fly8111- / fly8 / nosound.c < prev    next >
C/C++ Source or Header  |  1979-12-31  |  716b  |  48 lines

  1. /* --------------------------------- nosound.c ------------------------------ */
  2.  
  3. /* This is part of the flight simulator 'fly8'.
  4.  * Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
  5. */
  6.  
  7. /* The Sound device driver for when you have none.
  8. */
  9.  
  10. #include "fly.h"
  11.  
  12.  
  13. LOCAL_FUNC void FAR
  14. SndPoll (int force)
  15. {}
  16.  
  17. LOCAL_FUNC int FAR
  18. SndBeep (int f, int milli)
  19. {return (0);}
  20.  
  21. LOCAL_FUNC int FAR
  22. SndList (int *list, int id)
  23. {return (0);}
  24.  
  25. LOCAL_FUNC int FAR
  26. SndEffect (int eff, int command, ...)
  27. {return(0);}
  28.  
  29. LOCAL_FUNC int FAR
  30. SndInit (char *name)
  31. {return (0);}
  32.  
  33. LOCAL_FUNC void FAR
  34. SndTerm (void)
  35. {}
  36.  
  37. struct SndDriver NEAR SndNone = {
  38.     "NoSound",
  39.     0,
  40.     NULL,
  41.     SndInit,
  42.     SndTerm,
  43.     SndPoll,
  44.     SndBeep,
  45.     SndEffect,
  46.     SndList
  47. };
  48.